package com.itheima.member;

import com.hzheima.util.ImageUtil;
import com.itheima.ExtendsClass.Fly;

public class bossBullet extends Fly {
    private  int yspeed;
    public bossBullet(int px,int py) {
        img = ImageUtil.getImg("ZD6.png");
        width = img.getWidth();
        hight = img.getHeight();
        x = px + 90;
        y = py + 100  ;
        yspeed = 3;
    }

    public  void  moveBossBullet(){
        y += yspeed;
    }
}
